package com.palandrodev.calsmart;

import android.app.Activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;

public class ShowSettingsActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.user_settings);
		SharedPreferences sharedPrefs = PreferenceManager.getDefaultSharedPreferences(this);
//		StringBuilder builder = new StringBuilder();
//
//		builder.append(sharedPrefs.getString("color_scheme", "#33B4E5"));
//		
//		TextView settingsTextView = (TextView) findViewById(R.id.textUserSettings);
//		settingsTextView.setBackgroundColor(Color.parseColor(builder.toString()));
//		settingsTextView.setText(builder.toString());
//		
		
		
		
		getFragmentManager().beginTransaction()
		.replace(android.R.id.content, new SettingsFragmentActivity())
		.commit();

	}

}
